$OpenBSD: patch-client_gtk2_ibusimcontext_c,v 1.2 2013/10/01 21:21:17 fgsch Exp $
--- client/gtk2/ibusimcontext.c.orig	Fri Sep 20 04:15:51 2013
+++ client/gtk2/ibusimcontext.c	Sat Sep 28 19:31:13 2013
@@ -593,10 +593,7 @@ ibus_im_context_class_init (IBusIMContextClass *class)
 
     /* always install snooper */
     if (_key_snooper_id == 0) {
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
         _key_snooper_id = gtk_key_snooper_install (_key_snooper_cb, NULL);
-#pragma GCC diagnostic pop
     }
 
     _daemon_name_watch_id = g_bus_watch_name (G_BUS_TYPE_SESSION,
@@ -613,10 +610,7 @@ ibus_im_context_class_fini (IBusIMContextClass *class)
 {
     if (_key_snooper_id != 0) {
         IDEBUG ("snooper is terminated.");
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
         gtk_key_snooper_remove (_key_snooper_id);
-#pragma GCC diagnostic pop
         _key_snooper_id = 0;
     }
 
